package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.ResourceCategory;

import java.util.List;

/**
 * <p>
 * 资源分类表 服务类
 * </p>
 *
 * @author fukeke
 * @since 2022-11-11
 */
public interface IResourceCategoryService extends IService<ResourceCategory> {

    //查询所有资源分类
    List<ResourceCategory> findAll();

    //添加资源分类
    void saveCategory(ResourceCategory resourceCategory);

    //根据ID删除后台资源
    Boolean deleteById(Long id);

    //修改资源分类
    void updateCategory(ResourceCategory resourceCategory);
}
